import ctype_vterm
import ctypes as c

path = "D:\\opt\\msys64\\ucrt64\\bin\\libvterm-0.dll"


if __name__ == "__main__":
    lib = vterm.load_vterm(path)
    p = lib.vterm_new(c.c_int(40), c.c_int(80))
    lib.vterm_set_utf8(p, c.c_int(1))

    scr = lib.vterm_obtain_screen(p)

    lib.vterm_free(p)